package com.inibb.app.util.upload;

import java.util.HashMap;
import java.util.Hashtable;
import java.util.Map;

public class ValidationResult {

	private Map<String,String> errors= new HashMap<String, String>();

	public Map<String, String> getErrors() {
		return errors;
	}
	
	
	public void reject(String code, String errorMsg){
		this.errors.put(code, errorMsg);
	}
	
	public void addErrors(Map<String, String> errs){
		this.errors.putAll(errs);
	}
}
